<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>float</title>
    <link rel="stylesheet" href="float.css">
</head>

<body>
    <div>
        <div>左右浮动</div>
        <div class="left div-init float-container overflow">
            <div>1</div>
            <div>2</div>
            <div>3</div>
            <div>4</div>
            <div id="high">5</div>
            <div>6</div>
            <div>7</div>
            <div>8</div>
            <div>9</div>
            <!-- <span class="clear"></span> -->
        </div>

        <!-- <div class="right div-init ">
            这里是一段文字这里是一段文字这里是一段文字这里是一段文字
            <div>1</div>
            <div>2</div>
            <div>3</div>
            <div>4</div>
            <div id="high1">5</div>
            <div>6</div>
            <div>7</div>
            <div>8</div>
            <div>9</div>
        </div> -->
    </div>
    <div class="next-div">高度塌缩/塌陷</div>
    <div>
        <div>使用注意点：一浮全浮</div>
        <div class="div-init float-all">
            <div>1</div>
            <div class="float-it">2</div>
            <div id="after-float">3</div>
        </div>
    </div>
</body>

</html>